#-------------------------------------------------
#
# Project created by QtCreator 2017-04-12T13:12:47
#
#-------------------------------------------------

QT       += core gui sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = RPGMake
TEMPLATE = app
DESTDIR += "$$PWD/bin"

SOURCES += main.cpp\
        mainwindow.cpp \
    ebutton.cpp \
    ejbase.cpp \
    ejdata.cpp \
    ejdes.cpp \
    ejmain.cpp \
    ejmap.cpp \
    ejres.cpp \
    ejsidebar.cpp \
    3rd/DMSNavigation.cpp \
    ejstylesheet.cpp \
    ejcommon.cpp \
    ejconfig.cpp \
    ejconfigmanager.cpp \
    testexec.cpp \
    ejsqlmanager.cpp \
    ejeffectdelegate.cpp \
    ejeffecteddelegate.cpp \
    ejattrset.cpp \
    ejcareerset.cpp \
    ejskillset.cpp \
    ejanimationwidget.cpp \
    ejitemset.cpp \
    ejmapwidget.cpp \
    ejmaplayer.cpp \
    ejresmanager.cpp

HEADERS  += mainwindow.h \
    ebutton.h \
    ejbase.h \
    ejdata.h \
    ejdes.h \
    ejmain.h \
    ejmap.h \
    ejres.h \
    ejsidebar.h \
    3rd/DMSNavigation.h \
    ejstylesheet.h \
    ejcommon.h \
    ejconfig.h \
    ejconfigmanager.h \
    testexec.h \
    ejsqlmanager.h \
    ejeffectdelegate.h \
    ejeffecteddelegate.h \
    ejattrset.h \
    ejcareerset.h \
    ejskillset.h \
    ejanimationwidget.h \
    ejanimation.h \
    ejitemset.h \
    ejmapwidget.h \
    ejmaplayer.h \
    ejresmanager.h \
    ejloadres.h \
    ejloadmap.h \
    ejloadpackge.h

RESOURCES += \
    res.qrc

DISTFILES +=

CONFIG   += c++11

LIBS += "$$PWD/bin/libejoy2d.a"

LIBS += -lopengl32

INCLUDEPATH += 3rd/ejoy2d/lib

win32 {
    LIBS += -lglew32.dll
}
